<?php
use yii\helpers\Html;
use yii\helpers\Url;
use yii\widgets\LinkPager;
?>

<body>
<style>
    .objDetail {
        width: 25%;
        border-bottom: 1px solid #7c7c7c;
        /*margin-left:1%;*/
        float: left;
        margin-bottom: 20px;
        padding-top: 16px;
        padding-left: 14px;
        padding-right: 14px;
    }
    .am-pagination li a{
        border-radius: 4px;
        background-color: #dfe5e9;
        color: #7f8c8d;
    }
    .shade:after {
        opacity: 1.0;
        content: "";
        position: absolute;
        top: -1px;
        right: -1px;
        bottom: -1px;
        left: -1px;
        border: 1px solid rgba(0, 0, 0, 0.05)}
    .shade {
        width: 25%;
        display: block;
        opacity: 0;
        filter: alpha(opacity=0);
        position: absolute;
        z-index: 1;
        top: -16px;
        right: -14px;
        bottom: 0;
        left: -14px;
        background-color: #fff;
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
    }
</style>
<div style="background-color: #FFFFFF;height: 60px">
    <img src="img/logo-06.png" id="layoutLogo" style="float: left;margin-left: 5%;margin-right: 30px">

    <div id='cssmenu' style="float: left">
        <ul>

            <li>
                <a href=
                   <?= Url::toRoute('index/show'); ?>
                >首页</a>
            </li>

            <li class="active">
                <a href=
                   <?= Url::toRoute('project/show'); ?>
                >创业项目</a>
            </li>
            <li class=' has-sub'>
                <a href=
                   <?= Url::toRoute('raised/show'); ?>
                >项目聚幕</a>
                <ul>
                    <li class='has-sub sub-li'>
                        <a href=
                           <?= Url::toRoute('raised/show'); ?>
                        >投资聚募</a>
                    </li>
                    <li class='has-sub sub-li'>
                        <a href=
                           <?= Url::toRoute('raised/select'); ?>
                        >我要融资</a>

                    </li>
                </ul>
            </li>
            <li class=' has-sub'>
                <a href=
                   <?= Url::toRoute('basic-service/show-activity'); ?>
                >基础服务</a>
                <ul>
                    <li class='has-sub sub-li'>
                        <a href=
                           <?= Url::toRoute('basic-service/show-activity'); ?>
                        >线下活动</a>
                    </li>
                    <li class='has-sub sub-li'>
                        <a href=
                           <?= Url::toRoute('basic-service/show-information'); ?>
                        >创业资讯</a>
                    </li>
                    <li class='has-sub sub-li'>
                        <a href=
                           <?= Url::toRoute('basic-service/show-business'); ?>
                        >工商注册</a>
                    </li>
                    <li class='has-sub sub-li'>
                        <a href=
                           <?= Url::toRoute('basic-service/show-finance'); ?>
                        >财务代办</a>
                    </li>
                    <li class='has-sub sub-li'>
                        <a href=
                           <?= Url::toRoute('basic-service/show-law'); ?>
                        >法务咨询</a>
                    </li>
                </ul>
            </li>
        </ul>
    </div>
    <div class="isLogin">
        <ul>
            <?php if(!empty($_COOKIE['user_id'])):?>
                <li>
                    <img src="img/icon-38.png" style="width: 12px;margin-right: 10px">
                    <a href=<?= Url::toRoute('usercenter/show'); ?>>
                        <span><?=$this->params['user_name']?></span>
                    </a>
                </li>
                <li>
                    <img src="img/icon-39.png"style="width: 16px;margin-right: 10px">
                    <a href=<?= Url::toRoute('mymsg/show'); ?>>
                        <span>消息中心</span><span style="margin-left: 2px;color:red">(<?=$this->params['msgCount']?>)</span>
                    </a>
                </li>

            <?php endif?>

            <?php if(empty($_COOKIE['user_id'])):?>
                <li>
                    <img src="img/join.png">
                    <a href=
                       <?= Url::toRoute('register/show'); ?>
                    >
                        <span>免费注册</span></a>
                </li>
                <li>
                    <img src="img/login.png" style="margin-top: -4px">
                    <a href=
                       <?= Url::toRoute('login/show'); ?>
                    >
                        <span style="color: #3A99DB">登陆</span></a>
                </li>

            <?php endif?>
        </ul>
    </div>
</div>
<?= $content?>
<footer style="background-color: #FFFFFF;height: 100px;width: 100%;margin-bottom: 20px">
    <img src="img/logo-06.png" class="layoutLogo"
         style="float: left;margin-left: 5%;margin-top:12px;margin-right: 30px">
    <ul class="footUl">
        <li><a href="#">商务合作</a></li>
        <li><a href="#">常见问题</a></li>
        <li><a href="#">关于我们</a></li>
        <li><a href="#">业务规划</a></li>
        <li><a href="#">联系我们</a></li>
        <li><a href="#">免责声明</a></li>
    </ul>
    <img src="img/erweima.jpg" style="width: 80px;float: right;margin-right: 5%;margin-top:18px">
</footer>
</body>
<script src="assets/js/jquery.min.js"></script>
<script src="js/index.js"></script>
<!--<![endif]-->
<script src="assets/js/amazeui.min.js"></script>
<!--<script src="js/chinaz.js"></script>-->
<script src="js/amazeui.swiper.min.js"></script>
<!--<script src="js/slick.min.js"></script>
-->
<!--<script src="assets/js/app.js"></script>
-->
</html>
<script type="text/javascript" src="js/register.js"></script>
<script>
    $('.objDetail').hover(function () {
        $(this).css('backgroundColor', '#FFFFFF');
//        $(this).css('borderBottom','none');
//        alert(1);

    }, function () {
        $(this).css('backgroundColor', '#eff3f5');
//        $(this).css('borderBottom','1px solid #7c7c7c');
    });
    //    $('.objDetail').blur()
</script>